-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CTE deprecation #486
CTE deprecation #486
Conversation
c2bfe3e
to
7331258
Compare
Covered most of the test cases I could think of. Still testing to check for bugs. Meanwhile, one round of review would be helpful. Also, there is a circular dependency issue whenever
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added some comments
General notes
- I think we can test the util functions as well (e.g.
get_key_dependents
,del_saved_key
,del_all_saved_keys
) - There is missing documentation for some of the functions
By the way, do we need to take telemetry into this? |
Added unit tests and docstrings |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor comments
there's no need to add telemetry because this isn't adding any new options (it's automatically executed whenever a SQL snippet runs) |
Fixed all the review comments. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LG
1477903
to
ab4f1fc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added minor notes. besides that lgtm.
20e2420
to
5a3cb4e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just rebase, update the changelog entry and fix merge conflicts
CTE depr Warning msg, sqlglot Lint tests warn test conditions for extract Empty commit removed with test exception handling Fixed tests Lint typo error test condition for typo suggestions plot changes merge conflict fix test Fix test fix test tests list of with sqlcmd delete sqlcmd tests rebase Fixes fixed test fixes removed test non-existent tbl Test fix fix typo test fix typo test space removed delete snippet test test fix Docs docs toc changelog modified args modified versionchanged added message changed tests sqlcmd added deprecation warning changed tests depr warning removed if exists debug prints added clean_conns rebase test fix rebase issues revert error msg test for snippet utils telemetry removed Minor changes Moved string refactor plot tests plot_typo Renamed test file Removed line test fix test fix Review comments added issue numbers rebase lint
Describe your changes
Deprecate --with when forming CTEs
Issue number
Closes #166
Checklist before requesting a review
pkgmt format
📚 Documentation preview 📚: https://jupysql--486.org.readthedocs.build/en/486/